<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>animation1</title>
    <style>
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      .box-1 {
        width: 300px;
        height: 100px;
        background-color: burlywood;
        /* animation-delay: 0.5s; */
        animation-duration: 2.5s;
        animation-name: slideLeft;
        animation-iteration-count: 1;
        animation-direction: alternate;
        animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
      }

      @keyframes slideLeft {
        0% {
          transform: translateX(0%);
        }

        100% {
          transform: translateX(100%);
        }
      }
    </style>
  </head>
  <body>
    <div class="box-1"></div>
  </body>
</html>
